
export const searchForm = {
    name: 'firstChainConfiguration',
    searchItems: [

        {
            type: 'filterSelect',
            label: '产品',
            prop: 'productCodeList',
            //    dataType:"all",
            placeholder: '请选择产品',
            options: [],
            multiple: true,
            collapseTags: true,

        },
        {
            type: 'select',
            label: '运营商',
            prop: 'isp',
            placeholder: '请选择运营商',
            options: []

        },

        {
            type: 'cascader',
            label: '白名单省 - 市',
            prop: 'whiteListProvince',
            placeholder: '请选择白名单省-市',
        },

        // {
        //     type: 'input',
        //     label: '白名单市',
        //     prop: 'whiteListCity',
        //     placeholder: '请选择白名单市',
        // },
        // {
        //     type: 'data-picker',
        //     label: '审核日期',
        //     prop: 'name',
        //     placeholder: '请输入集合编号',
        // },


    ],
    tableBtnItems: [
        {
            name: '新建',
            color: "#1f63ff",
            icon: 'Plus',
            type: 'add',
            code: "PRODUCT_RECOMMENDATION:CREATE-EDIT",
            btnType: 'primary'
        }
    ],
    formBtnItems: [
        {
            name: '查询',
            color: "#1f63ff",
            icon: 'Search',
            type: 'search',
            code: '',

            btnType: 'primary'
        },
        {
            name: '重置',
            color: "",
            icon: 'RefreshRight',
            type: 'reSet',
            code: '',
            btnType: ''
        },
        // {
        //     name: '下载',
        //     color: "",
        //     icon: 'Download',
        //     type: 'upload',
        //     code:'PRODUCT_RECOMMENDATION:EXPORT',
        //             btnType:''
        // },

    ],
    btnSize: 'small',
    labelwidth: '100px',
    size: 'default'

}

export const tableProps = {
    name: 'firstChainConfiguration',
    propsList: [
        {
            type: 'normal',
            prop: 'productCode',
            label: '产品编码',
            minWidth: '100px',

        },
        {
            type: 'normal',
            prop: 'productName',
            label: '产品名称',
            minWidth: '100px',

        },

        {
            type: 'dispose',
            prop: 'isp',
            label: '运营商',
            minWidth: '100px',

        },
        {
            type: 'white-location',
            prop: 'whiteListProvince',
            label: '白名单省',
            minWidth: '100px',

        },
        {
            type: 'white-location',
            prop: 'whiteListCity',
            label: '白名单市',
            minWidth: '100px',

        },
        {
            type: 'normal',
            prop: 'relationProductCount',
            label: '关联产品数',
            minWidth: '100px',

        },

        {
            type: 'normal',
            prop: 'orderTotalQuota',
            label: '限制单量数',
            minWidth: '100px',

        },
        {
            type: 'handle',
            label: '操作',
            width: '230px',
            btnType: ' link',
            list: [{ name: '详细信息', code: 'PRODUCT_RECOMMENDATION:DETAIL' },
            { name: '编辑', code: 'PRODUCT_RECOMMENDATION:CREATE-EDIT' },
            { name: '删除', code: 'PRODUCT_RECOMMENDATION:DELETE' }],
        }

    ],
    tableSize: 'default',
    btnSize: 'small'

}

